% This file was created by matlab2tikz.
%
\definecolor{mycolor1}{rgb}{0.00000,0.44700,0.74100}%
%
\begin{tikzpicture}

\begin{axis}[%
width=0.761\linewidth,
height=0.597\linewidth,
at={(0\linewidth,0\linewidth)},
scale only axis,
xmin=50,
xmax=65,
xlabel={Time [s]},
ymin=-500,
ymax=0,
ylabel={Cost Function},
axis background/.style={fill=white},
title style={font=\bfseries},
title={Cost Function at 20 Iterations}
]
\addplot [color=mycolor1,solid,line width=1.5pt,forget plot]
  table[row sep=crcr]{%
50	-0.00582901\\
50.05	-0.00582767\\
50.1	-0.0058294\\
50.15	-5.83084\\
50.2	-35.2364\\
50.25	-94.2968\\
50.3	-177.881\\
50.35	-273.774\\
50.4	-366.379\\
50.45	-439.844\\
50.5	-481.995\\
50.55	-487.738\\
50.6	-460.427\\
50.65	-410.451\\
50.7	-351.367\\
50.75	-295.429\\
50.8	-250.658\\
50.85	-220.396\\
50.9	-204.629\\
50.95	-201.658\\
51	-209.161\\
51.05	-224.537\\
51.1	-6.16704\\
51.15	-8.20327\\
51.2	-11.5487\\
51.25	-16.6124\\
51.3	-23.543\\
51.35	-32.0292\\
51.4	-41.3609\\
51.45	-50.6769\\
51.5	-59.2624\\
51.55	-66.7546\\
51.6	-73.1874\\
51.65	-78.8983\\
51.7	-84.3739\\
51.75	-90.1034\\
51.8	-96.478\\
51.85	-103.738\\
51.9	-111.953\\
51.95	-121.029\\
52	-130.725\\
52.05	-140.69\\
52.1	-150.516\\
52.15	-159.792\\
52.2	-168.168\\
52.25	-175.416\\
52.3	-181.462\\
52.35	-186.382\\
52.4	-190.375\\
52.45	-193.712\\
52.5	-196.675\\
52.55	-199.509\\
52.6	-202.369\\
52.65	-58.7922\\
52.7	-58.3466\\
52.75	-59.0093\\
52.8	-60.6802\\
52.85	-63.1739\\
52.9	-66.2692\\
52.95	-69.7268\\
53	-73.3077\\
53.05	-76.797\\
53.1	-104.142\\
53.15	-102.207\\
53.2	-94.8226\\
53.25	-83.2936\\
53.3	-70.1442\\
53.35	-58.0479\\
53.4	-48.8892\\
53.45	-43.3328\\
53.5	-40.9725\\
53.55	-40.8244\\
53.6	-41.8407\\
53.65	-43.2303\\
53.7	-44.5496\\
53.75	-45.6379\\
53.8	-46.5004\\
53.85	-47.2093\\
53.9	-47.8474\\
53.95	-48.4882\\
54	-49.1926\\
54.05	-50.0082\\
54.1	-50.9643\\
54.15	-52.0661\\
54.2	-53.2912\\
54.25	-54.5933\\
54.3	-55.9119\\
54.35	-57.1853\\
54.4	-58.3624\\
54.45	-59.4102\\
54.5	-60.3161\\
54.55	-61.0852\\
54.6	-61.7356\\
54.65	-62.2918\\
54.7	-62.7797\\
54.75	-63.2212\\
54.8	-63.6311\\
54.85	-64.0175\\
54.9	-64.382\\
54.95	-64.7216\\
55	-65.0302\\
55.05	-65.3007\\
55.1	-65.4838\\
55.15	-65.3356\\
55.2	-64.7214\\
55.25	-63.6688\\
55.3	-66.7212\\
55.35	-64.7305\\
55.4	-62.8124\\
55.45	-61.1452\\
55.5	-59.8217\\
55.55	-58.8718\\
55.6	-58.2815\\
55.65	-58.0074\\
55.7	-57.9855\\
55.75	-58.1365\\
55.8	-58.3732\\
55.85	-58.6099\\
55.9	-58.7729\\
55.95	-58.8102\\
56	-58.6952\\
56.05	-58.4265\\
56.1	-58.0227\\
56.15	-57.5151\\
56.2	-56.9397\\
56.25	-56.3312\\
56.3	-55.7185\\
56.35	-55.1225\\
56.4	-54.5558\\
56.45	-54.0232\\
56.5	-53.5234\\
56.55	-53.0504\\
56.6	-52.5956\\
56.65	-52.1493\\
56.7	-51.7021\\
56.75	-51.2461\\
56.8	-50.7754\\
56.85	-50.2864\\
56.9	-49.7779\\
56.95	-49.2503\\
57	-48.7054\\
57.05	-48.1461\\
57.1	-47.5751\\
57.15	-46.9953\\
57.2	-46.4091\\
57.25	-45.8183\\
57.3	-45.2241\\
57.35	-44.6275\\
57.4	-44.0297\\
57.45	-43.4321\\
57.5	-42.8363\\
57.55	-42.2434\\
57.6	-41.6543\\
57.65	-41.0692\\
57.7	-40.4879\\
57.75	-39.9095\\
57.8	-39.3333\\
57.85	-38.758\\
57.9	-38.1827\\
57.95	-37.6065\\
58	-37.0288\\
58.05	-36.4493\\
58.1	-35.8679\\
58.15	-35.285\\
58.2	-34.701\\
58.25	-34.1166\\
58.3	-33.5323\\
58.35	-32.949\\
58.4	-32.3672\\
58.45	-31.7876\\
58.5	-31.2105\\
58.55	-30.6363\\
58.6	-30.0653\\
58.65	-29.4975\\
58.7	-28.9333\\
58.75	-28.3725\\
58.8	-27.8153\\
58.85	-27.2617\\
58.9	-26.7119\\
58.95	-26.1659\\
59	-25.6238\\
59.05	-25.0859\\
59.1	-24.5522\\
59.15	-24.0229\\
59.2	-23.4983\\
59.25	-22.9785\\
59.3	-22.4638\\
59.35	-21.9542\\
59.4	-21.4499\\
59.45	-20.9512\\
59.5	-20.458\\
59.55	-19.9705\\
59.6	-19.4889\\
59.65	-19.0133\\
59.7	-18.5436\\
59.75	-18.0801\\
59.8	-17.6228\\
59.85	-17.1719\\
59.9	-16.7272\\
59.95	-16.2891\\
60	-15.8575\\
60.05	-15.4324\\
60.1	-15.0141\\
60.15	-14.6025\\
60.2	-14.1977\\
60.25	-13.7997\\
60.3	-13.4086\\
60.35	-13.0245\\
60.4	-12.6474\\
60.45	-12.2773\\
60.5	-11.9143\\
60.55	-11.5584\\
60.6	-11.2096\\
60.65	-10.868\\
60.7	-10.5335\\
60.75	-10.2062\\
60.8	-9.886\\
60.85	-9.57303\\
60.9	-9.26725\\
60.95	-8.96864\\
61	-8.67721\\
61.05	-8.39294\\
61.1	-8.11583\\
61.15	-7.84584\\
61.2	-7.58298\\
61.25	-7.32721\\
61.3	-7.0785\\
61.35	-6.83684\\
61.4	-6.60218\\
61.45	-6.3745\\
61.5	-6.15375\\
61.55	-5.93989\\
61.6	-5.73289\\
61.65	-5.5327\\
61.7	-5.33927\\
61.75	-5.15255\\
61.8	-4.97249\\
61.85	-4.79903\\
61.9	-4.63212\\
61.95	-4.4717\\
62	-4.3177\\
62.05	-4.17008\\
62.1	-4.02875\\
62.15	-3.89366\\
62.2	-3.76474\\
62.25	-3.64192\\
62.3	-3.52513\\
62.35	-3.41429\\
62.4	-3.30934\\
62.45	-3.2102\\
62.5	-3.11679\\
62.55	-3.02904\\
62.6	-2.94687\\
62.65	-2.8702\\
62.7	-2.79895\\
62.75	-2.73304\\
62.8	-2.67239\\
62.85	-2.61692\\
62.9	-2.56654\\
62.95	-2.52117\\
63	-2.48074\\
63.05	-2.44514\\
63.1	-2.41431\\
63.15	-2.38816\\
63.2	-2.36659\\
63.25	-2.34953\\
63.3	-2.33689\\
63.35	-2.32859\\
63.4	-2.32454\\
63.45	-2.32465\\
63.5	-2.32885\\
63.55	-2.33703\\
63.6	-2.34913\\
63.65	-2.36506\\
63.7	-2.38472\\
63.75	-2.40805\\
63.8	-2.43495\\
63.85	-2.46533\\
63.9	-2.49913\\
63.95	-2.53625\\
64	-2.57661\\
64.05	-2.62014\\
64.1	-2.66675\\
64.15	-2.71635\\
64.2	-2.76888\\
64.25	-2.82425\\
64.3	-2.88239\\
64.35	-2.94321\\
64.4	-3.00664\\
64.45	-3.07261\\
64.5	-3.14103\\
64.55	-3.21184\\
64.6	-3.28495\\
64.65	-3.3603\\
64.7	-3.43782\\
64.75	-3.51743\\
64.8	-3.59907\\
64.85	-3.68265\\
64.9	-3.76813\\
64.95	-3.85542\\
65	-3.94446\\
};
\end{axis}
\end{tikzpicture}%